All Questions
23 questions
1vote
0answers
55views
fasd -e emacs not working correctly (snap installation)
fasd is working fine when I use commands such as z (equivalent to fasd_cd -d). However when I try to do something like fasd -e emacs .bashrc I get a funny error message: /snap/fasd/2/usr/local/bin/...
1vote
1answer
84views
How to produce from the terminal in a single command 2 emacs windows?
I am trying to open 2 separate windows/instances of emacs from the terminal in a single command. I have tried: emacs &; emacs & (error: bash:syntax error near unexpected token ; and emacs &...
1vote
1answer
228views
Emacs installation package error
I'm trying to install emacs on my debian jessie, but I have the following package error, thinkpad-keith@debian-keith:~$ sudo apt install emacs Reading package lists... Done Building dependency tree ...
1vote
1answer
343views
Vi mode or emacs mode in the whole system
I use vi mode in zsh, tmux and my favorite text editor (vim obviously). I'm interested to have this behavior in the whole system. I know I can use plugins in firefox, thunderbird, etc. but if there is ...
2votes
1answer
2kviews
When not started from a terminal, Emacs does NOT pick up the SSH_AUTH_SOCK environment variable
When I don't start it from a terminal, Emacs 24.5.1 (compiled from source) doesn't pick up my environment variables. In particular, to "import" the environment variables from shell, I have in my ....
2votes
1answer
736views
Making XMODIFIERS=@im=none emacs24 standard
I run emacs as XMODIFIERS=@im=none emacs24, otherwise some multi-keys for typing things like à won't work. How can I make this option permanent, so when I type emacs24, it runs as XMODIFIERS=@im=none ...
1vote
1answer
355views
Can you further integrate and present sequential moreutils vipe command output in vim using successive splits etc?
I have used the moreutils suite a few times and I find it makes you think further about base utilities and is insightful(and fun). For instance, vipe allows running an editor - like vim - in the ...
5votes
2answers
9kviews
"emacs: standard input is not a tty" when starting Emacs at login
I have Fedora 20 and Gnome3 classic, and I am trying to use the CTRL/ALT/Fn terminal windows. When I want to edit a file with emacs I use the following script so that my Hints file is automatically ...
6votes
1answer
463views
Tracking my shell path in Emacs
Not a long time ago, I found the following precious snippet that allows Emacs to track my current directory on any ansi-term buffer. More specifically, if I cd <some/path> from within a ...
1vote
1answer
897views
Autocompletion and coloring not working, when using ssh in emacs shell
I'm connecting to remote server using emacs shell. Emacs shell displays directory listings with proper coloring and auto completion when working with local machine. But when I use ssh the ...
87votes
2answers
30kviews
What is the difference between shell, eshell, and term in Emacs?
In Emacs I can run a shell using following commands - M-x term M-x shell M-x eshell What is the difference between these three?
5votes
3answers
2kviews
Sourcing a shell script from within Emacs
I would like to source a shell script that changes my environment variables from within Emacs. That is, I would like the shell script to change the environment in which Emacs runs, and I would like to ...
1vote
1answer
948views
How to know I am using vi or emacs input?
Crash shell allows to specify the command line editing mode to vi or emacs. What will be the difference in these input methods? I am not asking about the internal features.
1vote
1answer
1kviews
How to open all the files in a directory, using terminal, in emacs?
I've 4 java files in a directory, which I want to work with in emacs. How do I open them all with one command?
2votes
0answers
647views
zsh: Echoing every statement?
I have an odd problem with zsh when I switch between shells in a particular way: Option 1 (works well): I start a zsh shell. I switch to tcsh with /bin/tcsh, and I switch back to zsh with /bin/zsh ...